<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:import href="base-template.imp.xsl" />	
	<xsl:output encoding="UTF-8" method="html" saxon:character-representation="native" xmlns:saxon="http://saxon.sf.net/"/>
	<xsl:template name="content">
		<div class="title">Неотвеченные вопросы</div>
			<form name="form" action="/admin/question/{Question/@id}/save" method="post">
			<table width="100%">
				<tr>
					<td class="text">
						<xsl:value-of select="Author/@name"/> <![CDATA[&nbsp;]]><xsl:value-of select="Author/@fname"/> задал Вам вопрос: 
					</td>
					<td width="100%">
						<textarea name="content" class="question" style="width:80%"><xsl:value-of select="Question/content"/></textarea><br /> 
					</td>
				</tr>
				<tr>
					<td class="text">Ответ: </td>
					<td width="100%"> <textarea name='answer' class="text answer" style="width:80%">
						<xsl:if test="//page/Question/answer">
							<xsl:value-of select="//page/Question/answer" />
						</xsl:if>
						</textarea>
					</td>
				</tr>
				<tr><td>
					<input type="submit" value="Ответить" />
				</td></tr>
			</table>
			</form>
	</xsl:template>
</xsl:stylesheet>		